home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Tele / C / Comet2.1.3.sit / azInclude / UDPPB.h < prev   
MacBinary  |  1989-10-04  |  2.4 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: UDPPB.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Oct 4 15:19:36 1989, modified Wed Oct 4 15:19:36 1989, creator 'MPS ', type ASCII, 1854 bytes "UDPPB.h" , at 0x7be 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 55 44 50 50 42 2e | 68 00 00 00 00 00 00 00 |..UDPPB.|h.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 07 3e 00 | 00 01 7e a1 50 08 48 a1 |......>.|..~.P.H.|
|00000060| 50 08 48 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |P.H.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 5d cb 00 00 |........|....]...|
|00000080| 2f 2a 20 0d 09 55 44 50 | 50 42 2e 68 09 0d 09 43 |/* ..UDP|PB.h...C|
|00000090| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 6f 66 20 | definit|ions of |
|000000a0| 70 61 72 61 6d 65 74 65 | 72 20 62 6c 6f 63 6b 20 |paramete|r block |
|000000b0| 65 6e 74 72 69 65 73 20 | 6e 65 65 64 65 64 20 66 |entries |needed f|
|000000c0| 6f 72 20 55 44 50 20 63 | 61 6c 6c 73 0d 0d 20 20 |or UDP c|alls.. |
|000000d0| 20 20 43 6f 70 79 72 69 | 67 68 74 20 41 70 70 6c | Copyri|ght Appl|
|000000e0| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|000000f0| 20 31 39 38 38 2d 38 39 | 20 0d 20 20 20 20 41 6c | 1988-89| . Al|
|00000100| 6c 20 72 69 67 68 74 73 | 20 72 65 73 65 72 76 65 |l rights| reserve|
|00000110| 64 0d 09 09 0d 09 68 61 | 63 6b 65 64 20 66 6f 72 |d.....ha|cked for|
|00000120| 20 41 7a 74 65 63 20 39 | 2f 32 31 2f 38 39 0d 2a | Aztec 9|/21/89.*|
|00000130| 2f 0d 0d 23 64 65 66 69 | 6e 65 20 55 44 50 43 72 |/..#defi|ne UDPCr|
|00000140| 65 61 74 65 09 09 32 30 | 0d 23 64 65 66 69 6e 65 |eate..20|.#define|
|00000150| 20 55 44 50 52 65 61 64 | 09 09 09 32 31 0d 23 64 | UDPRead|...21.#d|
|00000160| 65 66 69 6e 65 20 55 44 | 50 42 66 72 52 65 74 75 |efine UD|PBfrRetu|
|00000170| 72 6e 09 32 32 0d 23 64 | 65 66 69 6e 65 20 55 44 |rn.22.#d|efine UD|
|00000180| 50 57 72 69 74 65 09 09 | 32 33 0d 23 64 65 66 69 |PWrite..|23.#defi|
|00000190| 6e 65 20 55 44 50 52 65 | 6c 65 61 73 65 09 09 32 |ne UDPRe|lease..2|
|000001a0| 34 0d 23 64 65 66 69 6e | 65 20 55 44 50 4d 61 78 |4.#defin|e UDPMax|
|000001b0| 4d 54 55 53 69 7a 65 09 | 32 35 0d 23 64 65 66 69 |MTUSize.|25.#defi|
|000001c0| 6e 65 20 55 44 50 43 74 | 6c 4d 61 78 09 09 32 39 |ne UDPCt|lMax..29|
|000001d0| 0d 0d 74 79 70 65 64 65 | 66 20 65 6e 75 6d 20 55 |..typede|f enum U|
|000001e0| 44 50 45 76 65 6e 74 43 | 6f 64 65 20 7b 0d 09 55 |DPEventC|ode {..U|
|000001f0| 44 50 44 61 74 61 41 72 | 72 69 76 61 6c 20 3d 20 |DPDataAr|rival = |
|00000200| 31 2c 0d 09 55 44 50 49 | 43 4d 50 52 65 63 65 69 |1,..UDPI|CMPRecei|
|00000210| 76 65 64 2c 0d 09 6c 61 | 73 74 55 44 50 45 76 65 |ved,..la|stUDPEve|
|00000220| 6e 74 20 3d 20 36 35 35 | 33 35 0d 09 7d 3b 0d 0d |nt = 655|35..};..|
|00000230| 2f 2a 0d 74 79 70 65 64 | 65 66 20 70 61 73 63 61 |/*.typed|ef pasca|
|00000240| 6c 20 76 6f 69 64 20 28 | 2a 55 44 50 4e 6f 74 69 |l void (|*UDPNoti|
|00000250| 66 79 50 72 6f 63 29 20 | 28 0d 09 09 53 74 72 65 |fyProc) |(...Stre|
|00000260| 61 6d 50 74 72 20 75 64 | 70 53 74 72 65 61 6d 2c |amPtr ud|pStream,|
|00000270| 20 0d 09 09 75 6e 73 69 | 67 6e 65 64 20 73 68 6f | ...unsi|gned sho|
|00000280| 72 74 20 65 76 65 6e 74 | 43 6f 64 65 2c 20 0d 09 |rt event|Code, ..|
|00000290| 09 50 74 72 20 75 73 65 | 72 44 61 74 61 50 74 72 |.Ptr use|rDataPtr|
|000002a0| 2c 0d 09 09 73 74 72 75 | 63 74 20 49 43 4d 50 52 |,...stru|ct ICMPR|
|000002b0| 65 70 6f 72 74 20 2a 69 | 63 6d 70 4d 73 67 29 3b |eport *i|cmpMsg);|
|000002c0| 0d 74 79 70 65 64 65 66 | 20 76 6f 69 64 20 28 2a |.typedef| void (*|
|000002d0| 55 44 50 49 4f 43 6f 6d | 70 6c 65 74 69 6f 6e 50 |UDPIOCom|pletionP|
|000002e0| 72 6f 63 29 20 28 73 74 | 72 75 63 74 20 55 44 50 |roc) (st|ruct UDP|
|000002f0| 69 6f 70 62 20 2a 69 6f | 70 62 29 3b 0d 2a 2f 0d |iopb *io|pb);.*/.|
|00000300| 0d 0d 74 79 70 65 64 65 | 66 09 75 6e 73 69 67 6e |..typede|f.unsign|
|00000310| 65 64 20 73 68 6f 72 74 | 09 75 64 70 5f 70 6f 72 |ed short|.udp_por|
|00000320| 74 3b 0d 0d 74 79 70 65 | 64 65 66 20 73 74 72 75 |t;..type|def stru|
|00000330| 63 74 20 55 44 50 43 72 | 65 61 74 65 50 42 20 7b |ct UDPCr|eatePB {|
|00000340| 09 09 09 2f 2a 20 66 6f | 72 20 63 72 65 61 74 65 |.../* fo|r create|
|00000350| 20 61 6e 64 20 72 65 6c | 65 61 73 65 20 63 61 6c | and rel|ease cal|
|00000360| 6c 73 20 2a 2f 0d 09 50 | 74 72 20 09 09 09 72 63 |ls */..P|tr ...rc|
|00000370| 76 42 75 66 66 3b 0d 09 | 75 6e 73 69 67 6e 65 64 |vBuff;..|unsigned|
|00000380| 20 6c 6f 6e 67 09 72 63 | 76 42 75 66 66 4c 65 6e | long.rc|vBuffLen|
|00000390| 3b 0d 09 50 72 6f 63 50 | 74 72 09 09 09 6e 6f 74 |;..ProcP|tr...not|
|000003a0| 69 66 79 50 72 6f 63 3b | 09 09 09 09 09 2f 2a 20 |ifyProc;|...../* |
|000003b0| 55 44 50 4e 6f 74 69 66 | 79 50 72 6f 63 20 2a 2f |UDPNotif|yProc */|
|000003c0| 0d 09 75 6e 73 69 67 6e | 65 64 20 73 68 6f 72 74 |..unsign|ed short|
|000003d0| 09 6c 6f 63 61 6c 50 6f | 72 74 3b 0d 09 50 74 72 |.localPo|rt;..Ptr|
|000003e0| 09 09 09 09 75 73 65 72 | 44 61 74 61 50 74 72 3b |....user|DataPtr;|
|000003f0| 0d 7d 20 55 44 50 43 72 | 65 61 74 65 50 42 3b 0d |.} UDPCr|eatePB;.|
|00000400| 09 0d 74 79 70 65 64 65 | 66 20 73 74 72 75 63 74 |..typede|f struct|
|00000410| 20 55 44 50 53 65 6e 64 | 50 42 20 7b 0d 09 75 6e | UDPSend|PB {..un|
|00000420| 73 69 67 6e 65 64 20 73 | 68 6f 72 74 09 72 65 73 |signed s|hort.res|
|00000430| 65 72 76 65 64 3b 0d 09 | 69 70 5f 61 64 64 72 09 |erved;..|ip_addr.|
|00000440| 09 09 72 65 6d 6f 74 65 | 48 6f 73 74 3b 0d 09 75 |..remote|Host;..u|
|00000450| 64 70 5f 70 6f 72 74 09 | 09 72 65 6d 6f 74 65 50 |dp_port.|.remoteP|
|00000460| 6f 72 74 3b 0d 09 50 74 | 72 09 09 09 09 77 64 73 |ort;..Pt|r....wds|
|00000470| 50 74 72 3b 0d 09 42 6f | 6f 6c 65 61 6e 09 09 09 |Ptr;..Bo|olean...|
|00000480| 63 68 65 63 6b 53 75 6d | 3b 09 0d 09 75 6e 73 69 |checkSum|;...unsi|
|00000490| 67 6e 65 64 20 73 68 6f | 72 74 09 73 65 6e 64 4c |gned sho|rt.sendL|
|000004a0| 65 6e 67 74 68 3b 0d 09 | 50 74 72 09 09 09 09 75 |ength;..|Ptr....u|
|000004b0| 73 65 72 44 61 74 61 50 | 74 72 3b 0d 7d 20 55 44 |serDataP|tr;.} UD|
|000004c0| 50 53 65 6e 64 50 42 3b | 0d 09 0d 74 79 70 65 64 |PSendPB;|...typed|
|000004d0| 65 66 20 73 74 72 75 63 | 74 20 55 44 50 52 65 63 |ef struc|t UDPRec|
|000004e0| 65 69 76 65 50 42 20 7b | 09 09 2f 2a 20 66 6f 72 |eivePB {|../* for|
|000004f0| 20 72 65 63 65 69 76 65 | 20 61 6e 64 20 62 75 66 | receive| and buf|
|00000500| 66 65 72 20 72 65 74 75 | 72 6e 20 63 61 6c 6c 73 |fer retu|rn calls|
|00000510| 20 2a 2f 0d 09 75 6e 73 | 69 67 6e 65 64 20 73 68 | */..uns|igned sh|
|00000520| 6f 72 74 09 74 69 6d 65 | 4f 75 74 3b 0d 09 69 70 |ort.time|Out;..ip|
|00000530| 5f 61 64 64 72 09 09 09 | 72 65 6d 6f 74 65 48 6f |_addr...|remoteHo|
|00000540| 73 74 3b 0d 09 75 64 70 | 5f 70 6f 72 74 09 09 72 |st;..udp|_port..r|
|00000550| 65 6d 6f 74 65 50 6f 72 | 74 3b 0d 09 50 74 72 20 |emotePor|t;..Ptr |
|00000560| 09 09 09 72 63 76 42 75 | 66 66 3b 0d 09 75 6e 73 |...rcvBu|ff;..uns|
|00000570| 69 67 6e 65 64 20 73 68 | 6f 72 74 09 72 63 76 42 |igned sh|ort.rcvB|
|00000580| 75 66 66 4c 65 6e 3b 0d | 09 75 6e 73 69 67 6e 65 |uffLen;.|.unsigne|
|00000590| 64 20 73 68 6f 72 74 09 | 73 65 63 6f 6e 64 54 69 |d short.|secondTi|
|000005a0| 6d 65 53 74 61 6d 70 3b | 0d 09 50 74 72 09 09 20 |meStamp;|..Ptr.. |
|000005b0| 09 09 75 73 65 72 44 61 | 74 61 50 74 72 3b 0d 7d |..userDa|taPtr;.}|
|000005c0| 20 55 44 50 52 65 63 65 | 69 76 65 50 42 3b 0d 0d | UDPRece|ivePB;..|
|000005d0| 74 79 70 65 64 65 66 20 | 73 74 72 75 63 74 20 55 |typedef |struct U|
|000005e0| 44 50 4d 54 55 50 42 20 | 7b 0d 09 75 6e 73 69 67 |DPMTUPB |{..unsig|
|000005f0| 6e 65 64 20 73 68 6f 72 | 74 20 09 6d 74 75 53 69 |ned shor|t .mtuSi|
|00000600| 7a 65 3b 0d 09 69 70 5f | 61 64 64 72 09 09 09 72 |ze;..ip_|addr...r|
|00000610| 65 6d 6f 74 65 48 6f 73 | 74 3b 0d 09 50 74 72 09 |emoteHos|t;..Ptr.|
|00000620| 09 09 09 75 73 65 72 44 | 61 74 61 50 74 72 3b 0d |...userD|ataPtr;.|
|00000630| 7d 20 55 44 50 4d 54 55 | 50 42 3b 0d 0d 74 79 70 |} UDPMTU|PB;..typ|
|00000640| 65 64 65 66 20 73 74 72 | 75 63 74 20 55 44 50 69 |edef str|uct UDPi|
|00000650| 6f 70 62 20 7b 0d 09 63 | 68 61 72 20 09 09 09 09 |opb {..c|har ....|
|00000660| 66 69 6c 6c 31 32 5b 31 | 32 5d 3b 0d 09 6c 6f 6e |fill12[1|2];..lon|
|00000670| 67 09 09 09 09 28 2a 69 | 6f 43 6f 6d 70 6c 65 74 |g....(*i|oComplet|
|00000680| 69 6f 6e 29 28 29 3b 09 | 2f 2a 20 55 44 50 49 4f |ion)();.|/* UDPIO|
|00000690| 43 6f 6d 70 6c 65 74 69 | 6f 6e 50 72 6f 63 20 2a |Completi|onProc *|
|000006a0| 2f 0d 09 73 68 6f 72 74 | 20 09 09 09 09 69 6f 52 |/..short| ....ioR|
|000006b0| 65 73 75 6c 74 3b 0d 09 | 63 68 61 72 20 09 09 09 |esult;..|char ...|
|000006c0| 09 2a 69 6f 4e 61 6d 65 | 50 74 72 3b 09 09 0d 09 |.*ioName|Ptr;....|
|000006d0| 73 68 6f 72 74 20 09 09 | 09 09 69 6f 56 52 65 66 |short ..|..ioVRef|
|000006e0| 4e 75 6d 3b 09 09 0d 09 | 73 68 6f 72 74 09 09 09 |Num;....|short...|
|000006f0| 09 69 6f 43 52 65 66 4e | 75 6d 3b 09 09 09 0d 09 |.ioCRefN|um;.....|
|00000700| 73 68 6f 72 74 20 09 09 | 09 09 63 73 43 6f 64 65 |short ..|..csCode|
|00000710| 3b 0d 09 53 74 72 65 61 | 6d 50 74 72 09 09 20 09 |;..Strea|mPtr.. .|
|00000720| 75 64 70 53 74 72 65 61 | 6d 3b 09 09 09 09 0d 09 |udpStrea|m;......|
|00000730| 75 6e 69 6f 6e 20 7b 0d | 09 09 73 74 72 75 63 74 |union {.|..struct|
|00000740| 20 55 44 50 43 72 65 61 | 74 65 50 42 09 63 72 65 | UDPCrea|tePB.cre|
|00000750| 61 74 65 3b 0d 09 09 73 | 74 72 75 63 74 20 55 44 |ate;...s|truct UD|
|00000760| 50 53 65 6e 64 50 42 09 | 73 65 6e 64 3b 0d 09 09 |PSendPB.|send;...|
|00000770| 73 74 72 75 63 74 20 55 | 44 50 52 65 63 65 69 76 |struct U|DPReceiv|
|00000780| 65 50 42 09 72 65 63 65 | 69 76 65 3b 0d 09 09 73 |ePB.rece|ive;...s|
|00000790| 74 72 75 63 74 20 55 44 | 50 4d 54 55 50 42 09 09 |truct UD|PMTUPB..|
|000007a0| 6d 74 75 3b 0d 09 7d 20 | 63 73 50 61 72 61 6d 3b |mtu;..} |csParam;|
|000007b0| 0d 7d 20 55 44 50 69 6f | 70 62 3b 0d 09 0d 00 00 |.} UDPio|pb;.....|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000810| 00 00 0d 22 06 72 65 73 | 69 7a 65 72 02 00 00 00 |...".res|izer....|
|00000820| 54 45 58 54 4d 50 53 20 | 01 00 00 80 00 80 00 00 |TEXTMPS |........|
|00000830| 07 55 44 50 50 42 2e 68 | 02 00 00 00 50 61 72 74 |.UDPPB.h|....Part|
|00000840| 53 49 54 78 00 00 00 00 | 00 00 00 00 00 01 8b bc |SITx....|........|
|00000850| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 a9 8d 3a 63 00 00 | 00 00 00 00 01 7e 00 00 |....:c..|.....~..|
|00000880| 00 00 12 00 00 00 0d 22 | 0c 53 65 74 44 69 72 65 |......."|.SetDire|
|00000890| 63 74 6f 72 79 65 02 00 | 00 00 54 45 58 54 4d 50 |ctorye..|..TEXTMP|
|000008a0| 53 20 01 00 00 40 00 80 | 00 00 00 00 0d 30 00 00 |S ...@..|.....0..|
|000008b0| 00 00 02 6e 00 00 06 00 | 00 00 00 00 02 93 00 00 |...n....|........|
|000008c0| 06 00 9d 27 b6 c0 9d 27 | b6 c0 00 00 00 00 37 d8 |...'...'|......7.|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 50 ed 00 01 00 00 00 00 | 00 00 00 00 50 ec 00 01 |P.......|....P...|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 0b 00 00 00 |........|........|
|00000900| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 ff 00 00 |...H..Mo|naco....|
|00000910| 00 00 00 14 00 01 3a 30 | 00 0a 00 03 00 00 00 0e |......:0|........|
|00000920| 01 f1 00 00 00 00 00 06 | 00 04 00 29 00 02 01 85 |........|...)....|
|00000930| 02 02 00 29 00 02 01 85 | 02 02 a1 4f c1 f8 00 00 |...)....|...O....|
|00000940| 02 03 00 00 02 08 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00000950| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 35 0e 8c |...L...L|...2.5..|
|00000960| 05 e2 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00000970| 00 0a 03 ed ff ff 00 00 | 00 00 00 36 47 c4 00 00 |........|...6G...|
+--------+-------------------------+-------------------------+--------+--------+